﻿using EnterpriseWebsiteUtil.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace EnterpriseWebsiteApi.Dto.Article
{
    public class ArticleWebSingleDTO
    {
        public int Id { get; set; }

        [LangSplitField("Title")]
        public string Title { get; set; }

        [LangSplitField("Title", LangType.en)]
        public string TitleEn { get; set; }

        [LangSplitField("Content", filterValue: @"<p><br><\/p>")]
        public string Content { get; set; }

        [LangSplitField("Content", LangType.en, filterValue: @"<p><br><\/p>")]
        public string ContentEn { get; set; }

        public string CoverUrl { get; set; }

        public int Category { get; set; }

        public DateTime CreateDate { set; get; }
    }
}
